package day08;

class Demo {
    int num;
    final int num2 = 20;

    // static {
    //     num2 = 10;
    // }

    public Demo() {
        num = 30;
    }

}

public class FinalDemo2 {
    public static void main(String[] args) {
        Demo d = new Demo();
        System.out.println(d.num);
        System.out.println(d.num2);
    }
}
